﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using PSE.Framework.Configuration;
using PSE.Framework.Process;
using PSE.Framework.ErrorLogging;

namespace PSE.Updater.Server
{
    class Program : BaseProgram
    {
        static Program()
        {
            Initialize(PSE.Framework.Configuration.Components.SystemComponents.System, PSE.Framework.Configuration.Components.SystemComponents.UpdaterServer);
        }
        
        static void Main()
        {
            DebugLog.Write("Inicializando o Serviço");

            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
				new UpdateService() 
			};
            ServiceBase.Run(ServicesToRun);
        }
    }
}

